/*
 * Mahasiswa.java
 *
 * Created on June 18, 2007, 8:49 AM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package latihanibatis.domain;

/**
 *
 * @author javamaniac
 */
public class Mahasiswa {
    
    private int nim;
    private String nama;
    private String alamat;
    private String kota;
    private String keterangan;
    
    /** Creates a new instance of Mahasiswa */
    public Mahasiswa() {
    }    
    
    public Mahasiswa(int nim, String nama, String alamat, String kota, 
        String ket) {
        
        this.nim = nim;
        this.nama = nama;
        this.alamat = alamat;
        this.kota = kota;
        this.keterangan = ket;
    }

    public int getNim() {
        return nim;
    }

    public void setNim(int nim) {
        this.nim = nim;
    }

    public String getNama() {
        return nama;
    }

    public void setNama(String nama) {
        this.nama = nama;
    }

    public String getAlamat() {
        return alamat;
    }

    public void setAlamat(String alamat) {
        this.alamat = alamat;
    }

    public String getKota() {
        return kota;
    }

    public void setKota(String kota) {
        this.kota = kota;
    }

    public String getKeterangan() {
        return keterangan;
    }

    public void setKeterangan(String keterangan) {
        this.keterangan = keterangan;
    }
}
